﻿@model Bonobo.Git.Server.Models.RepositoryDetailModel
@{
    ViewBag.Title = Resources.Delete_Title;
}
@using (Html.BeginForm("Delete", "Repository", FormMethod.Post, new { @class = "uniForm" }))
{
    <fieldset class="deleteForm">
        <h3>@String.Format(Resources.Delete_ConfirmationText, Model.Name)</h3>
        @Html.HiddenFor(m => m.Name)
        <div class="buttonHolder"> 
            @Html.ActionLink("← " + Resources.Delete_Back, "Index", null, new { @class = "secondaryAction" })
            <input type="submit" value="@Resources.Delete_Confirm" class="primaryAction" />
       </div>
    </fieldset> 
}